UseCacheOptionsType
import { UseCacheOptionsType } from "@hyper-fetch/react"
Description
Defined in hooks/use-cache/use-cache.types.ts:12
Preview
type UseCacheOptionsType<T> = {
deepCompare: boolean | typeof isEqual;
dependencyTracking: boolean;
initialData: CacheValueType<ExtractResponse<T>, ExtractError<T>>[data] | null;
}
Structure
{
deepCompare: boolean | typeof isEqual;
dependencyTracking: boolean;
initialData: ClientResponseType<Response, Error> | null;
}